package com.ossjk.qlh.minapp.service;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ossjk.qlh.minapp.entity.Orders;
import com.ossjk.qlh.minapp.vo.OrderSumVo;
import com.ossjk.qlh.minapp.vo.OrdersMenuVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * 订单服务类
 * @author parker
 * @since 2020-08-14
 */
public interface IOrdersService extends IService<Orders> {

    List<OrderSumVo> orderAllList(QueryWrapper<OrderSumVo> queryWrapper);

    List<OrdersMenuVo> queryOrderls(QueryWrapper<OrdersMenuVo> queryWrapper);

    int ordersPay(List ids);

    //购物车下单
    boolean preOrder(Orders orders,List ids);
}
